package com.cool.controller;

import com.cool.service.impl.LdapProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class queryListAd {
    @Autowired
    LdapProvider ldapProvider;

    @GetMapping(value = "test")
    public void test(){
        ldapProvider.test();
    }
    @GetMapping(value = "updatPerson")
    public void updatPerson(){
        ldapProvider.updatPerson("sunjt");
    }
}
